package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@ApiModel(value = "vehicle_info对象", description = "车辆和特种设备")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("vehicle_access_rela")
public class VehicleAccessRelaBean {


    @ApiModelProperty(value = "主键")
    @TableId(value = "obj_id")
    private String objId;
    
    @ApiModelProperty(value = "准入单ID")
    private String accessMonadObjId;
    
    @ApiModelProperty(value = "车辆设备ID")
    private String vehicleId;

    @ApiModelProperty(value = "准入工程")
    private String constructionWorkObjId;
    
    @ApiModelProperty(value = "准入周期开始")
    private Date cycleStart;

    @ApiModelProperty(value = "准入周期结束")
    private Date cycleEnd;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人员")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "更新人员")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
}
